package SwingComponents;

import Controllers.CreateWorldController;
import javax.swing.JPanel;

public class CreateWorldPanel extends JPanel {

    private CreateWorldController createWorldController;
    private String[] worldList;

    public CreateWorldPanel(CreateWorldController createWorldController, String[] worldList) {
        this.createWorldController = createWorldController;
        this.worldList = worldList;
        if (worldList != null) {
            for (int i = 0; i < worldList.length; i++) {
                System.out.println(worldList[i]);
            }
        }
    }
}
